//
//  UIImage+WebPFormatter.h
//  mmbang
//
//  Created by 倪元政 on 16/8/8.
//  Copyright © 2016年 iyaya. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import <webp/encode.h>

@interface UIImage (WebPFormatter)

//+ (NSData*)imageToWebP:(UIImage*)image quality:(CGFloat)quality;
//
//+ (void)imageToWebP:(UIImage*)image
//            quality:(CGFloat)quality
//              alpha:(CGFloat)alpha
//             preset:(WebPPreset)preset
//    completionBlock:(void (^)(NSData* result))completionBlock
//       failureBlock:(void (^)(NSError* error))failureBlock;
//
//+ (void)imageToWebP:(UIImage*)image
//            quality:(CGFloat)quality
//              alpha:(CGFloat)alpha
//             preset:(WebPPreset)preset
//        configBlock:(void (^)(WebPConfig* config))configBlock
//    completionBlock:(void (^)(NSData* result))completionBlock
//       failureBlock:(void (^)(NSError* error))failureBlock;

@end
